import 'package:flutter/material.dart';
import 'package:prototype/theme/custom_theme.dart';

Widget favoriteIcon(int isCollect) {
  final _theme = CustomTheme.colorSchema;
  return Icon(
    isCollect == 1 ? Icons.favorite_rounded : Icons.favorite_outline_rounded,
    color: isCollect == 1 ? _theme.primaryColor : _theme.fontColor,
  );
}
